/**
 * Created by hms on 2020-08-22.
 */
import { ROAST_CONFIG } from '../config.js';

export default{
    getRandomPictureList:function(data){
        return axios.get(ROAST_CONFIG.API_URL+'/randompicturelist',{ params : data});
    },
    getRandomPictureInfo:function(data){
        return axios.get(ROAST_CONFIG.API_URL+'/randompictureinfo',{
            params:data
        });
    },
    handleRandomPictureStatus:function(data){
        return axios.get(ROAST_CONFIG.API_URL+'/handlerandompicture',{params:data});
    },
    delRandomPicture:function(data){
        return axios.get(ROAST_CONFIG.API_URL+'/delrandompicture',{
            params:data
        });
    }
}
